<table id="search_result" class="sortable">
<thead>
<tr>
    <th>ID</th>
    <th>キーワード</th>
    <th>URL</th>
    <th>登録日時</th>
    <th>更新日時</th>
    <th>参照</th>
    <th>更新</th>
</tr>
</thead>
<tbody>
{foreach item=data from=$list}
<tr>
	<td><a href="{$smarty.server.SCRIPT_NAME}?op=edit&id={$data.id}">{$data.id}</a></td>
	<td>{$data.keyword}</td>
	<td>{$data.url}</td>
	<td>{$data.r_date|date_format:"%Y-%m-%d %H:%M"}</td>
	<td>{$data.u_date|date_format:"%Y-%m-%d %H:%M"}</td>
        <td class="update"><a href="{$smarty.server.SCRIPT_NAME}?op=refer&id={$data.id}">参照</a></td>
	<td class="update"><a href="{$smarty.server.SCRIPT_NAME}?op=edit&id={$data.id}">更新</a></td>
</tr>
{/foreach}
</tbody>
</table>